<?php
class Observers_GenerateWaranty implements SplObserver {
	public function update(InvoiceComponent $subject) {
		echo 'Waranty generated for product: '.$subject->getProduct().PHP_EOL;
	}
}
